import Vue from 'vue'
import App from './App.vue'
import router from './plugins/router'
import store from './plugins/store'
import vuetify from '@/plugins/vuetify'
import './styles/index.scss'
import * as filters from './methods'
import global from '@/plugins'
import '@/plugins/propertyMethods/arrayPlus'
import VueTheMask from 'vue-the-mask'
import './registerServiceWorker'
import VueClipboard from 'vue-clipboard2'
import components from "@/components/components"

Vue.use(components);
Vue.use(VueClipboard)
Vue.use(VueTheMask)
Vue.use(MuseUIMessage);

Vue.use(global)
Vue.config.devtools = true

// register global utility filters.
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

Vue.config.productionTip = false

// const socket = new SockJS('https://192.168.1.107:8088/webSocketServer');
// Vue.prototype.$stompClient = Stomp.over(socket)

new Vue({
  router,
  store,
  vuetify,
  render: h => h(App),
}).$mount('#app')
